From 29cd655b8549a862d0db6ef315c2a9e829329c6d Mon Sep 17 00:00:00 2001 From: "stekloff@elm3b49.beaverton.ibm.com" Date: Tue, 21 Mar 2006 01:13:14 +0100 Subject: [PATCH] Make sure the check to see if device is in use doesn't happen. We need to share disk.imgs. Qemu doesn't honor the 'r' read-only value. Signed-off-by: Daniel Stekloff --- tools/xm-test/lib/XmTestLib/XenDomain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xm-test/lib/XmTestLib/XenDomain.py b/tools/xm-test/lib/XmTestLib/XenDomain.py index ec1e4ba749..ac11ba9a6b 100644 --- a/tools/xm-test/lib/XmTestLib/XenDomain.py +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py @@ -74,7 +74,7 @@ HVMDefaults = {"memory" : 64, "vcpus" : 1, "acpi" : 0, "apic" : 0, - "disk" : ["file:%s/disk.img,ioemu:%s,w" % + "disk" : ["file:%s/disk.img,ioemu:%s,w!" % (getRdPath(), BLOCK_ROOT_DEV)], "kernel" : "/usr/lib/xen/boot/hvmloader", "builder" : "hvm", -- 2.30.2